Allow configuratin ar/ld for rustc
authorAlex Crichton <alex@alexcrichton.com>
Mon, 14 Jul 2014 17:57:04 +0000 (10:57 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 14 Jul 2014 18:28:40 +0000 (11:28 -0700)
commit12af54e17ad695b2cc535cfa5b986217a89daf9c
treeee4e0661d93b8edb6f54fd926593f55939458d2c
parenta0dec4e1b0688da7c65b05543710351b41d39303
Allow configuratin ar/ld for rustc

This adds a new .cargo/config option which allows configuring the ar and linker
tools that rustc invokes. This should aid in any cross-compilation attempts.
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_rustc/mod.rs
src/cargo/util/config.rs
tests/test_cargo_cross_compile.rs